<template>
  <div class="tab-container" style="padding: 32px">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="血液标本" name="first">
        <el-divider />
        <bloodSpecimen />
      </el-tab-pane>
      <el-tab-pane label="胸腺标本" name="second">
        <el-divider />
        <thymusSpecimen />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import bloodSpecimen from './bloodspecimen/index.vue'
import thymusSpecimen from './thymusspecimen/index.vue'

export default {
  components: {
    bloodSpecimen,
    thymusSpecimen
  },
  data() {
    return {
      activeName: 'first'
    }
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event)
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
</style>
